package com.xoa.dao.task;


import com.xoa.model.task.TaskManage;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface TaskManageMapper {

   public int delTaskManage(@Param("typeId") Integer typeId);

   public int addTaskManage(TaskManage taskManage);

   public int queryTaskId(Map map);

   public TaskManage queryTaskManageByTaskId(@Param("taskId") Integer taskId);

   public List<TaskManage> queryChildTaskManage(@Param("taskId") Integer taskId);

   public int updateTaskManage(TaskManage taskManage);

   public int deleteTaskManage(@Param("taskId") Integer taskId);

   public List<TaskManage> queryTaskManageByTypeId(@Param("typeId") Integer typeId);

   public List<TaskManage> queryTask(Map<String,Object> map);

   public List<TaskManage> querySubordinateTaskByUserId(Map<String,Object> map);

   public List<TaskManage> queryAnalysisReport(Map<String,Object> map);

   public List<TaskManage> queryTrendInsertTask(Map<String,Object> map);


   public List<TaskManage> queryTastCount(@Param("userId") String userId);

   public List<TaskManage> queryTastCount1(Map<String,Object> map);

   public String queryMangeUser(String taskId);


}